home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / sco4.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  3.5 KB  |  117 lines

  1. /* System description file for SCO 3.2v4.
  2.    Copyright (C) 1993, 1994 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: FSF 19.29. */
  21.  
  22. /* Contributed by Ian Lance Taylor, ian@cygnus.com.  */
  23.  
  24. /* SCO is sort of like SVR3.  */
  25. #include "usg5-3.h"
  26.  
  27. #if 0 /* Turned off rather than make the Lisp code check for this. -- rms.
  28.      I am assuming that (at least most of) the tests for usg-unix-v
  29.      do the right thing for sco3.2v4 also.  Things that *might* be wrong
  30.      as a result of turning off these lines include the values of
  31.      ange-ftp-remote-shell-file-name (now remsh)
  32.      dired-chown-program (now just chown)
  33.      lpr-command (now lp)
  34.      nntp-buggy-select (now t)
  35.      rmail-spool-directory (now /usr/mail?)
  36.      and the actions of the function print-region-1.  */
  37.  
  38. /* SYSTEM_TYPE should indicate the kind of system you are using.  */
  39. #undef SYSTEM_TYPE
  40. #define SYSTEM_TYPE "SCO 3.2v4"
  41. #endif
  42.  
  43. /* SCO has ptys with unusual names.  */
  44. #define HAVE_PTYS
  45.  
  46. #define PTY_ITERATION \
  47.    for (i = 0; ; i++)
  48. #define PTY_NAME_SPRINTF \
  49.   sprintf (pty_name, "/dev/ptyp%d", i);
  50. #define PTY_TTY_NAME_SPRINTF \
  51.   sprintf (pty_name, "/dev/ttyp%d", i);
  52.  
  53. /* Must use 'cc' to link when build with motif toolkit. */
  54. #ifndef __GNUC__
  55. #define LINKER cc
  56. #endif
  57.  
  58. /* This is safe since we already assumed HAVE_SOCKETS
  59.    if using X windows.  */
  60. #undef LIBX11_SYSTEM
  61. #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lc_s -lsocket
  62.  
  63. #ifdef HAVE_SOCKETS
  64. #define LIBS_SYSTEM -lsocket -lPW
  65.  
  66. /* SCO has gettimeofday in socket library */
  67. /* Autoconf should determine this, but for now, 
  68.    play safe to avoid error rather than deleting this
  69.    and risking the wrong result.  */
  70. #ifndef HAVE_GETTIMEOFDAY
  71. #define HAVE_GETTIMEOFDAY
  72. #endif
  73. #endif
  74.  
  75. /* This enables configure to tell that we have alloca.  */
  76. #ifndef LIBS_SYSTEM
  77. #define LIBS_SYSTEM -lPW
  78. #endif
  79.  
  80. #ifdef HAVE_X11R5
  81. /* configure can't get this right linking fails unless -lsocket is used.  */
  82. #undef HAVE_XSCREENNUMBEROFSCREEN
  83. #define HAVE_XSCREENNUMBEROFSCREEN
  84. #endif
  85.  
  86. /* We don't have -loldX, and we don't need it.  */
  87. #define LIB_XMENU_LIB
  88.  
  89. /* SCO does have TIOCGWINSZ.  */
  90. #undef BROKEN_TIOCGWINSZ
  91. #define NEED_PTEM_H
  92.  
  93. /* We need to link with crt1.o and crtn.o.  */
  94. #define START_FILES pre-crt0.o /lib/crt1.o
  95. #define LIB_STANDARD -lc /lib/crtn.o
  96.  
  97. /* Send signals to subprocesses by "typing" signal chars at them.  */
  98. #define SIGNALS_VIA_CHARACTERS
  99.  
  100. /* Specify program for etc/fakemail to run.  Define SMAIL if you are
  101.    using smail, don't for MMDF.  */
  102.  
  103. #ifdef SMAIL
  104. #define MAIL_PROGRAM_NAME "/bin/smail -q0"
  105. #else
  106. #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail"
  107. #endif
  108.  
  109. /* Tell process_send_signal to use VSUSP instead of VSWTCH.  */
  110. #define PREFER_VSUSP
  111.  
  112. /* wjs@wiis.wang.com says SCO 3.2 v4.2 "has sockets",
  113.    but only for network connections.
  114.    It doesn't have the kind of sockets that emacsclient.c
  115.    and emacsserver.c would use.  */
  116. #define NO_SOCKETS_IN_FILE_SYSTEM
  117.